import {getTrademark} from '@/api/getTrademark'

const state = {
    tradeMarkList :{}
};
const getters = {
    
    records(state){
        return  state.records
    },
    
};
const actions = {
    reqgetTrademark({commit},{page,limit}){
        getTrademark(page,limit).then(res =>{
            commit('REQ_GET_TRADEMARK',res)
        })
    }
};
const mutations =  {
    REQ_GET_TRADEMARK(state,res){
        state.tradeMarkList = res
    }
}

export default {
    state,
    getters,
    actions,
    mutations
}